<%@page import="models.beans.User"%>
        <html:form method="post" action="/admin/changeProfile.do">
            <div class="form">
                <div class="form_header">PROFILE</div>
                <div class="form_content">
                    <table>
                        <tr><td><font color="blue">${requestScope["success"]}</font></td></tr>
                        <tr><td class="title">Username: ${user.username}</td></tr>
                        <tr><td class="title">Fullname: (<span>*</span>)</td></tr>
                        <input type="hidden" name="userid" value="${user.userId}"
                        <tr><td><input type="text" name="fullname" size="35" value="${user.fullname}"/></td></tr>
                        <tr><td class="title">Gender: (<span>*</span>)</td></tr>
                        <tr><td>
                                <select name="gender">
                                    <option value="female" selected="${(user.gender=="female")?"selected":""}">Female</option>
                                    <option value="male" selected="${(user.gender=="male")?"selected":""}">Male</option>
                                    <option value="others" selected="${(user.gender=="others")?"selected":""}">Others</option>
                                </select>
                            </td></tr>
                        <tr><td class="title">Date of birth (dd-mm-yyyy): (<span>*</span>)</td></tr>
                        <tr><td><input id="dob" type="text" name="birthday" size="35" maxlength="10" value="${user.birthday}" /></td></tr>
                        <tr><td class="title">Email: (<span>*</span>)</td></tr>
                        <tr><td><input type="text" name="email" size="35" maxlength="256" value="${user.email}"/></td></tr>
                        <tr><td class="title">Address:</td></tr>
                        <tr><td><input type="text" name="address" size="35" maxlength="256" value="${user.address}"/></td></tr>
                        <tr><td class="title">Mobile:</td></tr>
                        <tr><td><input type="text" name="mobile" size="35" maxlength="15" value="${user.mobile}"/></td></tr>
                        <tr><td>
                                <input type="submit" name="btnSubmit" value="Save" class="button" />
                                <input type="reset" value="Cancel" class="button" />
                            </td></tr>
                    </table>
                </div>
            </div>
        </html:form>
